
#ifndef _LASREADER_H_
#define _LASREADER_H_

#include <string>

#include <windows.h>

#include "LasReaderExport.h"

class CLasHeader;
class CLasPoint;

class LASREADER_API CLasReader
{
public:
	CLasReader(void);
	~CLasReader(void);
public:
	bool OpenFile(std::string szFilePathName);
	bool Close();
	const CLasPoint* GetPoint() const;
	bool NextPoint();
private:
	CLasHeader *m_pHeader;
	CLasPoint *m_pPoint;
	unsigned long m_uiCurrentPointNumber;
	const unsigned char *m_lpCurrentPointData;
	HANDLE m_hFile;
	HANDLE m_hMap;
	LPVOID m_lpViewBuffer;
};

#endif